<template>
	<view class="detail_content">
		<view class="detail_list">
			<view class="entrust_tips">订单号：2375485684756487</view>
			<view class="detail_inner">
				<image class="detail_img" src="../../../static/temp/ad3.jpg" mode=""></image>
				<view class="detail_desc">
					<view class="detail_title">心境8</view>
					<view class="detail_info">
						<view class="detail_price">￥222.22</view>
						<view class="detail_number">× 1</view>
					</view>					
				</view>
			</view>
			<view class="detail_time">2021-03-04 17:00:00</view>
		</view>
		<view class="detail_list">
			<view class="entrust_tips">订单号：2375485684756487</view>
			<view class="detail_inner">
				<image class="detail_img" src="../../../static/temp/ad3.jpg" mode=""></image>
				<view class="detail_desc">
					<view class="detail_title">心境8</view>
					<view class="detail_info">
						<view class="detail_price">￥222.22</view>
						<view class="detail_number">× 1</view>
					</view>					
				</view>
			</view>
			<view class="detail_time">2021-03-04 17:00:00</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				entrustDetailList:[]
			}
		},
		onLoad() {
			this.entrustDetail();
		},
		methods: {
			entrustDetail(){
				const that = this
				that.$api.request('/system/order','/selectGoodsByOrderNum', {
				
				}, (failres => {
					uni.showToast({
						title:failres.msg
					})
					that.registering = false
				})).then(res => {
					//注册成功
					that.entrustDetailList=res.data;
				})
			}
			
		}
	}
</script>

<style lang="scss">
	.detail_content{
		width: 100%;
		min-height: 100vh;
		background: #F6F6F6;
		padding-top: 30upx;
		.detail_list{
			width: 100%;
			background: #FFFFFF;
			padding: 20upx 0;
			margin-bottom: 30upx;
			.entrust_tips{
				border-bottom: 1upx solid #F8F8F8;
				padding-left: 30upx;
				height: 70upx;
				line-height: 70upx;
				font-size: 28upx;
				color: #666666;
				padding-bottom: 20upx;
			}
			.detail_inner{
				display: flex;
				align-items: center;
				height: 200upx;
				.detail_img{
					width: 150upx;
					height: 80upx;
					margin-left: 30upx;
				}
				.detail_desc{
					margin-left: 30upx;
					width: 65%;
					.detail_title{
						font-size: 26upx;
						color: #333333;
						margin-bottom: 80upx;
					}
					.detail_info{
						width: 100%;
						display: flex;
						justify-content: space-between;
						align-items: center;
						.detail_number{
							font-size: 24upx;
							color: #666666;
						}
					}
				}
			}
			.detail_time{
				padding-left: 30upx;
				height: 70upx;
				line-height: 70upx;
				font-size: 28upx;
				color: red;
				padding-bottom: 20upx;
			}
		}
	}
</style>
